import { useRouter } from 'vue-router'

export function useBack() {
  const router = useRouter()

  return {
    back() {
      router.back()
    },
  }
}
